#ifndef EMPLOYEE_H
#define EMPLOYEE_H
#include <QString>
#include <QDateTime>
class Employee
{
public:
    Employee();

    int getId() const;
    void setId(int value);

    QString getName() const;
    void setName(const QString &value);

    QString getPhone() const;
    void setPhone(const QString &value);

    double getSalaryRate() const;
    void setSalaryRate(double value);

    double getCashRate() const;
    void setCashRate(double value);

    int getWorkingStatus() const;
    void setWorkingStatus(int value);

    QDateTime getCreatedAt() const;
    void setCreatedAt(QDateTime value);

    QDateTime getModifiedAt() const;
    void setModifiedAt(QDateTime value);

    QDateTime getPaidAt() const;
    void setPaidAt(QDateTime value);

private:
    int id;
    QString name;
    QString phone;
    double salaryRate;
    double cashRate;
    int workingStatus;
    QDateTime createdAt;
    QDateTime modifiedAt;
    QDateTime paidAt;

};

#endif // EMPLOYEE_H
